@import "color.less";

*{
  box-sizing: border-box;
}
body,html{
  width: 100%;
  min-width: 1000px;
  height: 100%;
  margin: 0;
  text-align: center;
  text-shadow: 1px 1px 0 #000;
  font-family: Helvetica, Tahoma, Arial,"Microsoft YaHei", "微软雅黑", SimSun, "宋体", Heiti, "黑体", sans-serif;
}
.fl{
  float: left;
}
.fr{
  float: right;
}
.clear{
  clear: both;
}
.hide{
  display: none;
}
.ellipsis{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space: nowrap;
}
.content{
  position: relative;
  z-index: 100;
  width: 1000px;
  padding-top: 10px;
  text-align: left;
  margin: auto;
}
.bg{
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.5);
  background: url(@/images/gray-bg.png);
}
/* 顶部导航 */
.header{
  position: relative;
  z-index: 100;
  width: 1000px;
  height: 90px;
  top: 0;
  margin: auto;
  padding: 20px 0;
  text-align: left;
  font-weight: bold;
}
#menu{
  display: inline-block;
  padding: 0;
  margin: 0;
  float: right;
  &>li{
    display: inline-block;
    width: 80px;
    height: 45px ;
    line-height: 45px;
    text-align: center;
    cursor: pointer;
    transition: background .2s;
  }
  &>li.active,
  &>li:hover{
    color: #fff;
    background: #db641d;
  }
}

/* 背景 */
.bg-animation{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(@/images/bg.png) no-repeat center center;
  background-attachment:fixed;
  background-size: cover;
}
#starrySky{
  height: 100%;
}
#starrySky>.star{
  position: absolute;
  display: inline-block;
  width: 3px;
  height: 3px;
  opacity: 0;
}
#starrySky>div>img{
  width: 100%;
  height: 100%;
  box-shadow: 0px 0px 5px #fff;
}
@keyframes star {
  0%  { opacity: 0 }
  50% { opacity: 1 }
  100%{ opacity: 0 }
}
.bg-animation>.stone11{
  position: absolute;
  width: 0;
  top: 30%;
  left: 50%;
  animation: stone11 3s ease-in infinite;
}
@keyframes stone11 {
  from{ width: 0; top: 30%; left: 50%; }
    to{ width: 50px; top: 100%; left: 100%; }
}
.bg-animation>.stone12{
  position: absolute;
  width: 0;
  top: 35%;
  left: 45%;
  animation: stone12 2s ease-in infinite;
}
@keyframes stone12 {
  from{ width: 0; top: 35%; left: 45%; }
    to{ width: 50px; top: 100%; left: -100%; }
}
/* 装饰-地球 */
.decorators>.planet-shadow{
  position: fixed;
  width: 596px;
  height: 596px;
  bottom: -300px;
  left: 50%;
  margin-left: -300px;
}
.decorators>.earth{
  position: fixed;
  z-index: 2;
  width: 596px;
  height: 596px;
  bottom: -300px;
  left: 50%;
  margin-left: -298px;
  animation: rotate 120s linear infinite;
}
@keyframes rotate {
  from{ transform: rotate(0deg) }
    to{ transform: rotate(360deg) }
}
.decorators>.moon{
  position: fixed;
  z-index: 3;
  width: 64px;
  height: 64px;
  bottom: 0;
  left: 50%;
  margin-left: -32px;
  animation: orbit 20s linear infinite;
}
@keyframes orbit {
  from{ transform: scale(.8) rotate(0deg) translate(0px,-250px) rotate(280deg)}
    to{ transform: scale(.8) rotate(360deg) translate(0px,-250px) rotate(280deg)}
}
.decorators>.sun{
  position: fixed;
  z-index: 1;
  width: 165px;
  height: 165px;
  bottom: 0;
  left: 50%;
  margin-left: 75px;
}

/* 分页重写 */
.page-box{
  text-align: center;
  padding: 30px 0;
}
.page{
  display: inline-block;
}
.infoTextAndGoPageBtnWrap{
  display: none;
}
#kkpager span.disabled{
  color: #757575;
  opacity: .5;
}
#kkpager span.curr{
  opacity: .8;
}
#kkpager a{
  color: #fff;
}
#kkpager a:hover {
  background-color: #00364a;
}
/* 提示框 */
.msg-success,.msg-warning,.msg-error{
  position: fixed;
  z-index: 1000;
  width: 600px;
  top: 50%;
  left: 50%;
  margin-left: -300px;
  padding: 20px;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.5);
  background: url(@/images/gray-bg.png);
}
.msg-success{
  color: #67c23a;
}
.msg-warning{
  color: #e6a23c;
}
.msg-error{
  color: #f56c6c;
}